import Vue from 'vue'
import Vuex from 'vuex'
import App from './App'
import storeInfo from './store/index.js'//全局引入Vuex
import http from './http/config.js';//全局引入请求
import toPage from './core/toPage.js'
import './static/index.js';
import animated from './static/css/animate.min.css'
Vue.config.productionTip = false
App.mpType = 'app'
Vue.use(Vuex)
Vue.use(animated)
const store = new Vuex.Store(storeInfo)
Vue.prototype.$http = http;
Vue.prototype.$toPage=(url)=>{
	toPage(url,store)
}
const app = new Vue({
    ...App,
	store
})
app.$mount()
